package com.tcj.blog.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;


/**
 * 用户登录的dto
 * @author tcj
 * @date 2020/10/13 11:51
 */
@Data
public class LoginUser {
    @NotBlank(message = "账号不能为空")
    @ApiModelProperty(value = "登录账号")
    private  String account;
    @NotBlank(message = "密码不能为空")
    @ApiModelProperty(value = "登录密码")
    private  String password;


}
